import { Component, OnInit, ElementRef } from '@angular/core';

@Component({
  selector: 'app-view-button',
  templateUrl: './view-button.component.html',
  styleUrls: ['./view-button.component.less']
})
export class ViewButtonComponent implements OnInit {

  constructor(private ElementRef: ElementRef) { }
  public test: string = "more famous. Formerly subordinate to the State Sports Administration, the school was transferred to the local government in 2001. The State Sports Administration and the Sichuan Provincial People's Government jointly constructed the full-time ordinary colleges and universities mainly under the management of Sichuan Province. After more than 70 years of accumulation and development, the school has now become a prestigious and influential sports institute in the southwest of China. At present, the school is striding forward towards the goal of building a high-level applied research university with distinct sports characteristics and coordinated development of multi-disciplines."
  ngOnInit() {

  }
  // public testss:string
  public testss:string = '2019-01-20T12:02:00Z'
  a(event) {
    var clientWidth = event.target.clientWidth;
    var scrollWidth = event.target.scrollWidth;
  }

}
